package com.ruoyi.workflow.domain;

import com.ruoyi.common.enums.ProcessEnums;
import org.babyfish.jimmer.sql.Column;
import org.babyfish.jimmer.sql.Entity;
import org.babyfish.jimmer.sql.Id;
import org.babyfish.jimmer.sql.Table;

/**
 * 流程实例历史表
 */
@Entity
@Table(name = "act_hi_procinst")
public interface ActHiProcinst {

    /**
     * 流程实例历史id
     */
    @Id
    @Column(name = "proc_inst_id_")
    String procInstId();

    /**
     * 业务key
     */
    @Column(name = "business_key_")
    String businessKey();

    /**
     * 业务key
     */
    @Column(name = "NAME_")
    String name();

    @Column(name = "BUSINESS_STATUS_")
    ProcessEnums businessStatus();

}
